|
A queue machine or queue automaton is a finite state machine with the ability to store and retrieve data from an infinite-memory queue. It is a model of computation equivalent to a Turing machine, and therefore it can process any formal language. == Theory == We define a queue machine by the six-tuple : where * is a finite set of ''states''; * is the finite set of the ''input alphabet''; * is the finite ''queue alphabet''; * is the ''initial queue symbol''; * is the ''start state''; * is the ''transition function''. We define the current status of the machine by a ''configuration'', an ordered pair of its state and queue contents (note defines the Kleene closure or set of all supersets of ). The starting configuration on an input string is defined as , and the transition from one configuration to the next is defined as: : where is a symbol from the queue alphabet, is a sequence of queue symbols (), and . Note the "first-in-first-out" property of the queue in the relation. The machine accepts a string if after a (possibly infinite) number of transitions the starting configuration evolves to exhaust the string (reaching a null string ), or 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Queue automaton」の詳細全文を読む スポンサード リンク
|